package com.alibaba.org.mapper;


import com.alibaba.basic.mapper.BaseMapper;
import com.alibaba.org.domain.Employee;

import java.util.List;

public interface EmployeeMapper extends BaseMapper<Employee> {

    List<Employee> findEmpByDeptId(Long id);

    Employee findByName(String username);

    void deleteByDeptId(Long id);

    Employee findByLogininfoId(Long id);
}
